package com.mission.schedule.my160920.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.CheckBox;

/**
 * Created by liwei on 2017/2/22.
 */

public class CheckBoxC extends android.support.v7.widget.AppCompatCheckBox {

    int index;
    int id;

    public CheckBoxC(Context context) {
        super(context);
        index = 0;
    }

    public CheckBoxC(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CheckBoxC(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public void setId(int id) {
        this.id = id;
    }
}
